<%@ page import="com.wyvoid.core.util.CookieUtils" %>
<%--
  User: cjp
  Date: 2007-5-12
  Time: 17:49:21
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="taglib.jsp" %>

<!-- end #header -->
<script type="text/javascript">
    if (top != self) {
        top.location = '${ctx}/index.jsp?frame=yes#' + escape(window.location)
    }
</script>
<div class="mainborder" id="jsmenu_parent"></div>
<div class="mainheader">
    <div class="logo">
        <div class="maintable">
            <div class="right"></div>
            <div align="left"><a href="${ctx}/index.do"><img src="${ctx}/imgs/logo.gif" alt="Discuz! Board" border="0"/></a>
            </div>
        </div>
    </div>

    <div class="menu">
        <div class="maintable">
<span class="left">
<script type="text/javascript">
    if (top == self) {
        document.write('<img src="${skinPath}/imgs/frame_on.gif" border="0" align=absmiddle alt="" />&nbsp;<a href="${ctx}/index.jsp?frame=yes" target="_top">分栏模式</a>');
    } else {
        document.write('<img src="${skinPath}/imgs/frame_off.gif" border="0" align=absmiddle alt="" />&nbsp;<a href="${ctx}/index.jsp?frame=no" target="_top">平板模式</a>');
    }
</script>
</span>
            <c:choose>
                <c:when test="${not empty sessionUser}">
                    <span class="bold"><a href="space-uid-720449.html">${sessionUser.nickname}</a>:&nbsp;</span> |
                    <a href="${ctx}/user/logout.do" title="退出登录">退出</a>
                </c:when>
                <c:otherwise>
                    请先<a href="${ctx}/user/login.do?loginForm" title="用户登录">登录</a> |
                    <a href="${ctx}/user/register.do?registerForm" title="用户注册">注册</a>
                </c:otherwise>
            </c:choose>


            <f:secureUser>| <a href="${ctx}/user/member.do">会员</a></f:secureUser>
            | <a href="${ctx}/search.do">搜索</a>
            |
<span id="my" onmouseover="showMenu(this.id)"><a href="my.php">我的</a>
    <img alt="" title="" src="${skinPath}/imgs/jsmenu.gif" border="0"></span>
            | <a href="${ctx}/controlPanel/controlPanel.do">控制面板</a>
            | <a href="faq.php">帮助</a>
        </div>
    </div>
</div>